﻿using DramaEnglish.Infrastructure.Register;
using IceCreamMachine.Views;
using Microsoft.Extensions.DependencyInjection;
using Prism.Ioc;
using System.Reflection;
using System.Windows;

namespace IceCreamMachine
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// 提交
    /// </summary>
    public partial class App
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            var assemblyName = Assembly.GetExecutingAssembly().GetName().Name;
            PrismRegister.ExecureRegister(containerRegistry, assemblyName);
        }

        
    }
}
